/*
 *  WilTool.cpp
 *  Wilson
 *
 *  Created by Sebastian Orfino on 8/12/11.
 *  Copyright 2011 Lbs3 Software. All rights reserved.
 *
 */


#include "VCPlugInHeaders.h"

#include "ISession.h"
#include "IApplication.h"
#include "IDialogMgr.h"
#include "IDialog.h"

// General includes:
#include "CoreResTypes.h"
#include "LocaleSetting.h"
#include "PMLocaleIds.h"

#include "RsrcSpec.h"
#include "CTool.h"

#include "WilID.h"


class WilTool : public CTool {

	
public:
	
	WilTool(IPMUnknown*u) : CTool(u,kLayoutCreationTool,kTrue,kFalse) { }
	
	virtual void Init(RsrcID iconID, const PluginID& pluginID);
	
	virtual ScriptID GetScriptID() const;
	
	/** Subclasses which override this method should call this Select before doing anything -- it notifies the selection that the tool is changing
	 */
	virtual void Select();
	
	/** Subclasses which override this method should call this Deselect before doing anything -- it notifies the selection that the tool is changing
	 */
	virtual void Deselect() { CTool::Deselect(); }
	
private:
	
	bool estan_los_marcadores_visibles;
	
};

CREATE_PERSIST_PMINTERFACE(WilTool, kWilToolImpl);

void WilTool::Init(RsrcID iconID, const PluginID& pluginID)
{
	SetName(kWilToolStringKey); // "Anotar [ES]" ?
	InitWidget(kWilToolWidgetID, kWilToolIconResourceID, pluginID);
}

ScriptID WilTool::GetScriptID() const
{
	return en_None;
}

void WilTool::Select()
{
	CTool::Select();
	
}


